package com.ljw;

import java.awt.EventQueue;

import javax.swing.JFrame;

public class Application extends JFrame{
	public Application(){
		initUI();
	}

	private void initUI() {
		//add(new Board());
		
		add(new Board2());
		
		setSize(250, 200);
		
		setTitle("Application");
		setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
		setLocationRelativeTo(null);			//null : center
	}
	
	public static void main(String[] args){
		EventQueue.invokeLater(new Runnable(){
			public void run(){
				Application ex = new Application();
				ex.setVisible(true);
			}
		});
	}

}
